<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/css/estilo.css" />
<title>SisReserva - Cadastro de professor</title>
</head>
<body>
	<body>
	<div class="container">
	<nav class="navbar navbar-default navbar-fixed-top">
	<h3 class="navbar-text navbar-left">
				SisReserva<small>v0.1.2</small>
			</h3>
		<c:if test="${admSessioned.islogado}">
						<p class="navbar-text navbar-right">
							Signed in as ${admSessioned.nome} <a
								href="${linkTo[admSessioned].logout}">Logout</a>
						</p>
					</c:if>
					<c:if test="${professorSessioned.islogado}">
						<p class="navbar-text navbar-right">
							Signed in as ${professorSessioned.nome } <a
								href="${linkTo[professorSessioned].logout}">Logout</a>
						</p>
					</c:if>
					
		</nav>
		<div class="panel panel-default col-md-8 col-sm-offset-2" id="body">
		<h4>Adicionar professor    <a class="glyphicon glyphicon-home" title="Home"
				href="${linkTo[IndexController].home}"></a>    <a class="glyphicon glyphicon-list-alt" title="Ir para lista"
				href="${linkTo[ProfessorController].list}"></a></h4>
		
		<div class="panel-body">
		<form action="${linkTo[ProfessorController].save}" method="post"
			role="form">
			<div class="form-group">
			<label>Nome</label>
			<input placeholder="Nome" name="professor.nome" class="form-control">
			</div>
			<div class="form-group">
			<label>Matricula</label>
			<input placeholder="Matricula" name="professor.matricula" class="form-control">
			</div>
			<div class="form-group">
			<label>Senha</label>
			<input placeholder="Senha" name="professor.senha" class="form-control">
			</div>
			
			
			<input type="submit" value="Salvar" class="btn btn-lg btn-primary col-xs-offset-10" /><br>
			
					
		</form>
		</div>
		</div>
		</div>

</body>
</html>